package com.test.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @packageName: com.test.controller
 * @name: PageController
 * @description:
 * @author: 董定卓
 * @dateTime: 2018/8/6 11:17
 */
@Controller
public class PageController {

    @RequestMapping("/")
    public String defaultIndex() {
        return "index";
    }

    @RequestMapping("index.html")
    public String defaultIndex2() {
        return "index";
    }

}
